﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 三坐标检测记录
    /// </summary>
    [Table(Name = "cks_cmm_inspection_record")]
    [SugarTable("cks_cmm_inspection_record")]
    public class CksCMMInspectionRecord : BaseEntity
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 采集批次
        /// </summary>
        public string BatchCode { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        /// 设备唯一编码
        /// </summary>
        public string EID { get; set; }

        /// <summary>
        /// 检测结果
        /// </summary>
        public string CheckResult { get; set; }

        /// <summary>
        /// 检测开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 检测结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 检测花费时间
        /// </summary>
        public int CostTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        public string F1 { get; set; }
    }
}